Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fade-out sound players even when idle or buffering #1157

Merged
merged 1 commit into from
Dec 31, 2023

Conversation

ashutoshgngwr
Copy link
Member

This helps maintain behaviour parity among contiguous and non-contiguous sounds. In the current implementation, non-contiguous sounds stop immediately when the underlying media player is idle. It results in an incorrect preset state during SoundPlayerManager's PAUSING and STOPPING transitions.

resolves #1155

this helps maintain behaviour parity among contiguous and
non-contiguous sounds, which in-turn helps maintaining the
correct preset state during STOPPING and PAUSING transitions.

resolves #1155
Copy link

codecov bot commented Dec 31, 2023

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (14aa445) 29.33% compared to head (46dd6c6) 29.66%.

Files Patch % Lines
...hub/ashutoshgngwr/noice/engine/LocalSoundPlayer.kt 0.00% 13 Missing ⚠️
...toshgngwr/noice/engine/media/DefaultMediaPlayer.kt 0.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1157      +/-   ##
============================================
+ Coverage     29.33%   29.66%   +0.32%     
- Complexity      437      443       +6     
============================================
  Files           167      167              
  Lines          7090     7090              
  Branches        893      898       +5     
============================================
+ Hits           2080     2103      +23     
+ Misses         4684     4656      -28     
- Partials        326      331       +5     
Flag Coverage Δ
api-client 50.24% <ø> (ø)
app 29.04% <0.00%> (+0.33%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ashutoshgngwr ashutoshgngwr merged commit 0e630bd into main Dec 31, 2023
11 of 12 checks passed
@ashutoshgngwr ashutoshgngwr deleted the fix/issue-1155 branch December 31, 2023 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Saved preset is displayed as "Unsaved Preset" when pressing the stop button (intermittently occuring...)
1 participant